#!/usr/bin/env python
# -*- coding: UTF-8 -*-

from flask_smorest import Blueprint


class BaseBlueprint(Blueprint):

    def add_resource(self, resource, *args, **kwargs):
        self.route(*args, **kwargs)(resource)
